package com.letv.core.constant;

public class LiveRoomConstant {
    public final static int LIVE_INDEX_ALL = 0;
    public final static int LIVE_INDEX_LUNBO = 1;
    public final static int LIVE_INDEX_WEISHI = 2;
    public final static int LIVE_INDEX_SPORTS = 3;
    public final static int LIVE_INDEX_MUSIC = 4;
    public final static int LIVE_INDEX_ENTERTAINMENT = 5;
    public final static int LIVE_INDEX_OTHER = 6;
    
    //根据ChannelId播放适用于获取到bean情况
    public final static int PLAY_MODE_CHANNEL = 0;
    //根据Program播放，适用于轮播
    public final static int PLAY_MODE_PROGRAM = 1;

    public final static String LIVE_TYPE_SPORT = "letv_live_sports";// 体育
    public final static String LIVE_TYPE_ENT = "letv_live_ent";// 娱乐
    public final static String LIVE_TYPE_MUSIC = "letv_live_music";// 音乐
    public final static String LIVE_TYPE_OTHER = "letv_live_other";// 其他
    public final static String LIVE_TYPE_DEFAULT = "letv_live_default";// 其他

    public static final int DIRECTION_NONE = 0; // 两边都加载
    public static final int DIRECTION_RIGHT = 1; // 加载右边数据
    public static final int DIRECTION_LEFT = 2; // 加载左边数据

    public final static String CHANNEL_TYPE_ALL = "all";
    public final static String CHANNEL_TYPE_SPORTS = "sports";
    public final static String CHANNEL_TYPE_ENT = "ent";
    public final static String CHANNEL_TYPE_ENTERTAINMENT = "entertainment";
    public final static String CHANNEL_TYPE_MUSIC = "music";
    public final static String CHANNEL_TYPE_OTHER = "other";
    public final static String CHANNEL_TYPE_LUNBO = "lunbo";
    public final static String CHANNEL_TYPE_WEISHI = "weishi";

    public final static String CHANNEL_ID_SPORTS = "227";
    public final static String CHANNEL_ID_MUSIC = "235";
    public final static String CHANNEL_ID_ENTERTAINMENT = "290";
    public final static String CHANNEL_ID_DEFAULT = CHANNEL_ID_SPORTS;

    public final static int STATE_PLAYER_BASE = 0x000;
    public final static int STATE_PLAYER_START = STATE_PLAYER_BASE + 1;
    public final static int STATE_PLAYER_STOP = STATE_PLAYER_BASE + 2;
    public final static int STATE_PLAYER_PAUSE = STATE_PLAYER_BASE + 3;
    public final static int STATE_PLAYER_RESUME = STATE_PLAYER_BASE + 4;
    public final static int STATE_PLAYER_IDLE = STATE_PLAYER_BASE + 5;
    public final static int STATE_PLAYER_PREPARED = STATE_PLAYER_BASE + 6;
    public final static int STATE_PLAYER_ERROR = STATE_PLAYER_BASE + 7;

    public final static int STATE_FRAGMENT_CREATED = 0x000;
    public final static int STATE_FRAGMENT_DESTROY = 0x001;
    public final static int STATE_FRAGMENT_PAUSE = 0x002;
    public final static int STATE_FRAGMENT_RESUME = 0x003;
    public final static int STATE_FRAGMENT_START = 0x004;
    public final static int STATE_FRAGMENT_STOP = 0x005;

    public final static int LIVE_ROOM_BASE = 0x1000;
    public final static int EVENT_VOLUME_CHANGE = LIVE_ROOM_BASE + 1;
    public final static int EVENT_BRIGHTNESS_CHANGE = LIVE_ROOM_BASE + 2;
    public final static int EVENT_QUALITY_CHANGE = LIVE_ROOM_BASE + 3;
    public final static int EVENT_lUNBO_LIST = LIVE_ROOM_BASE + 4;
    public final static int EVENT_SCREEN_CHANGE = LIVE_ROOM_BASE + 5;
    public final static int EVENT_SCREEN_LOCK = LIVE_ROOM_BASE + 6;
    public final static int EVENT_QUALITY_CHECKED = LIVE_ROOM_BASE + 7;
    public final static int EVENT_VOLUME_CHECKED = LIVE_ROOM_BASE + 8;
    public final static int EVENT_PROGRAM_LIST_CHECKED = LIVE_ROOM_BASE + 9;
    public final static int EVENT_PLAYING_PROGRESS = LIVE_ROOM_BASE + 10;
    public final static int EVENT_PLAY_STATE_CHANGE = LIVE_ROOM_BASE + 11;
    public final static int EVENT_PROJECTION_CHECKED = LIVE_ROOM_BASE + 12;
    public final static int EVENT_SHARE_CHECKED = LIVE_ROOM_BASE + 13;
    public final static int EVENT_FAVORITE_CHANGE = LIVE_ROOM_BASE + 14;
    public final static int EVENT_BATTERY_CHANGE = LIVE_ROOM_BASE + 15;
    public final static int EVENT_CONTROLLER_BAR_CHECKED = LIVE_ROOM_BASE + 16;
    public final static int EVENT_SINGLE_TAG_UP = LIVE_ROOM_BASE + 17;
    public final static int EVENT_TOUCH_EVENT_UP = LIVE_ROOM_BASE + 18;
    public final static int EVENT_CHANNEL_CHECKED = LIVE_ROOM_BASE + 19;
    public final static int EVENT_PLAYER_STATE_CHANGE = LIVE_ROOM_BASE + 20;
    public final static int EVENT_VOLUME_KEY_UP = LIVE_ROOM_BASE + 21;
    public final static int EVENT_VOLUME_KEY_DOWN = LIVE_ROOM_BASE + 22;
    public final static int EVENT_LIVE_FRAGMENT_CHANGE = LIVE_ROOM_BASE + 23;
    public final static int EVENT_PROGRAM_CHANGE = LIVE_ROOM_BASE + 24;
    public final static int EVENT_CHANNEL_CHANGE = LIVE_ROOM_BASE + 25;
    public final static int EVENT_BOOK = LIVE_ROOM_BASE + 26;
    public final static int EVENT_LUNBO_LIST = LIVE_ROOM_BASE + 27;
    public final static int EVENT_WEISHI_LISH = LIVE_ROOM_BASE + 28;
    public final static int EVENT_UPDATE_HISTORY = LIVE_ROOM_BASE + 29;
    public final static int EVENT_UPDATE_FAVORITE = LIVE_ROOM_BASE + 30;
    public final static int EVENT_UPDATE_ALL = LIVE_ROOM_BASE + 31;
    public final static int EVENT_BIND_HISTORY = LIVE_ROOM_BASE + 32;
    public final static int EVENT_BIND_FAVORITE = LIVE_ROOM_BASE + 33;
    public final static int EVENT_BIND_ALL = LIVE_ROOM_BASE + 34;
    public final static int EVENT_MIDDLE_SINGLE_FINGER_UP = LIVE_ROOM_BASE + 35; 
    public final static int EVENT_PROGRAM_CHECK = LIVE_ROOM_BASE + 36; 
    public final static int EVENT_LIVE_BEAN_CHANGE = LIVE_ROOM_BASE + 37;
    

    public final static int EVENT_FLOW_BASE = 0x2000;
    public final static int EVENT_FLOW_ON_PLAY = EVENT_FLOW_BASE + 1;
    public final static int EVENT_FLOW_HIDE_3G_LAYOUT = EVENT_FLOW_BASE + 2;
    public final static int EVENT_FLOW_PROGRAM_NAME_CHANGE = EVENT_FLOW_BASE + 3;
    public final static int EVENT_FLOW_SHOW_CONTROLLER = EVENT_FLOW_BASE + 4;
    public final static int EVENT_FLOW_REQUEST_LAYOUT_ERROR = EVENT_FLOW_BASE + 5;
    public final static int EVENT_FLOW_NOT_PLAY = EVENT_FLOW_BASE + 6;
    public final static int EVENT_FLOW_CANNOT_PLAY_ERROR = EVENT_FLOW_BASE + 7;
    public final static int EVENT_FLOW_LOADING_VIDEO = EVENT_FLOW_BASE + 8;
    public final static int EVENT_FLOW_PRE_FAIL = EVENT_FLOW_BASE + 9;
    public final static int EVENT_FLOW_NETWORK_NOT_AVAILABLE = EVENT_FLOW_BASE + 10;
    public final static int EVENT_FLOW_NETWORK_ERROR = EVENT_FLOW_BASE + 11;
    public final static int EVENT_FLOW_RESULT_ERROR = EVENT_FLOW_BASE + 12;
    public final static int EVENT_FLOW_RESULT_NOT_UPDATE = EVENT_FLOW_BASE + 13;
    public final static int EVENT_FLOW_SHOW_3G_LAYOUT = EVENT_FLOW_BASE + 14;
    
    public final static int MSG_HIDE_CONTROLLER_BAR = 1;
    public final static int CONTROLLER_BAR_DELAY_TIME = 5000;

    public final static int FRAGMENT_AUTO_PLAY = 0;
}
